package com.example.model.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zhexueqi
 */
@ApiModel(value = "社保转移申请业务对象", description = "社保转移申请业务操作对象")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Apply {
    @ApiModelProperty(value = "申请人区块链地址", required = true)
    private String applicant; // 申请人地址

    @ApiModelProperty(value = "申请人当前社保局地址", required = true)
    private String currentBureauAddress;  //申请人当前社保局地址

    @ApiModelProperty(value = "原城市名称", required = true)
    private String fromCity;   // 原城市

    @ApiModelProperty(value = "目标城市名称", required = true)
    private String toCity;     // 目标城市

    @ApiModelProperty(value = "是否停止缴费")
    private boolean isStopped;    // 是否停缴  true === 停止缴费

    @ApiModelProperty(value = "是否批准转移申请")
    private boolean isApproved;   // 是否批准

    @ApiModelProperty(value = "个人账户基金金额")
    private int personalFund;     // 个人账户基金

    @ApiModelProperty(value = "统筹账户基金金额")
    private int overallFund;      // 统筹账户基金

    @ApiModelProperty(value = "养老保险账户金额")
    private int pensionInsurance; // 养老保险账户

    @ApiModelProperty(value = "目标社保局地址", required = true)
    private String toBureauAddress; //目标社保局地址

    @ApiModelProperty(value = "交易发起者地址", required = true)
    private String senderAddress; // 交易发起者
}